@extends('back.index')
@section('title','课程管理')
@section('style')
    <style>
        .edits_ps{
            margin-bottom:20px;
        }
        label{margin-top:10px;}
    </style>
@endsection
@section('mian')
    <div style="font-size:14px;" class="modal-content">
        <form  action="" method="post" enctype="multipart/form-data">
            {{csrf_field()}}
            <p style="font-size: 30px;margin-left: 30px;margin-top: 20px;">
                <a href="{{url('back/center/special')}}"><span class="glyphicon glyphicon-arrow-left"></span></a>
                <span style="margin-left:380px;">修改资讯</span>
            </p>
            <div class="modal-body" style="width:670px;margin:0 auto;">
                <div class="dunk_all">
                    <form  class="form-horizontal" action="" method="post" enctype="multipart/form-data">
                        {{csrf_field()}}
                        <div class="form-group">
                            <label for="inputEmail3" class="col-sm-2 control-label">标头:</label>
                            <div class="edits_ps col-sm-10">
                                <input type="text" class="dunk_ps form-control" value="{{$result->header}}" name="header">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputEmail3" class="col-sm-2 control-label">专栏标题:</label>
                            <div class="edits_ps col-sm-10">
                                <input type="text" class="dunk_ps form-control" value="{{$result->title}}" name="title">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputEmail3" class="col-sm-2 control-label">专栏内容:</label>
                            <div class="edits_ps col-sm-10">
                                        <textarea style="left: 98px;height: 138px;resize: none;overflow: auto;" class="dunk_ps form-control" name="text" id="passport_userdetail">
                                            {{$result->text}}
                                        </textarea>
                            </div>
                        </div>
                        <div class="modal-footer" style=" border-top:none;text-align:center;">
                            <input style="width:200px;" class="btn btn-info" type="submit" value="确定">
                        </div>
                    </form>
                </div>
            </div>
        </form>
    </div>

@endsection